package com.teemo.equipment.enums;

import lombok.Getter;

/**
 * 业务状态码枚举
 * @author Teemo
 */
@Getter
public enum BizCodeEnum {

    /**
     * 成功
     */
    SUCCESS(200, "bizSuccess"),
    /**
     * 系统未知异常
     */
    UNKNOWN_ERROR(500, "unknownError"),
    ;

    private Integer code;
    private String message;

    BizCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
